import request from '@/utils/request'
//列表
export function list(params) {
  return request({
    url: "/account/appManager/getManagerInfoList",
    method: 'get',
    params
  })
}
//新增
export function add(data) {
  return request({
    url: "/account/appManager/addAppManagerInfo",
    method: "post",
    data
  })
}
//查看
export function detail(id) {
  return request({
    url: "/auth/sysMsg/detail/" + id,
    method: "post"
  })
}

// 强制更新，上架
export function edit(data) {
  return request({
    url: "/account/appManager/updateAppManagerInfoById",
    method: "post",
    data
  })
}

//删除
export function del(id) {
  return request({
    url: "/account/appManager/delAppManagerInfoById/",
    method: "delete",
    params: { id }
  })
}